#ifndef CARWASH
#define CARWASH

#include "Car.h"

class carWash
{
private:
	queue<Car> customer;
	Car temp;
	double average; //Average of wait time
	bool bayfull; //True if a car is in the car wash, false if its open
	int baytime; // TO hold the arrival time of the car in bay
	int numline; //number of cars that can wait in line
	int wash; //The time it takes to wash a car in the car wash
	int washed; //number of cars washed
	int lostCars; //number of cars turned away because line was full
public:
	//Constructor
	carWash();

	//carWash Operations
	void runSimulation();
	void show_results(); //Sentinel that displays average wait time and # of overflows
	
};//end carWash

#include "carWash.cpp"
#endif 
